package com.ktmall.ktmalluijava.service;

import com.ktmall.ktmalluijava.pojo.Address;
import com.ktmall.ktmalluijava.utils.Page;
import org.springframework.stereotype.Service;

@Service
public interface AddressService {
    /**
     * 条件分页查询
     * @param username
     * @param telName
     * @param telNumber
     * @param pageNo
     * @param pageSize
     * @return
     */
    Page<Address> select(String username, String telName, String telNumber,
                         Integer pageNo , Integer pageSize);

    /**
     * 逻辑删除
     * @param id
     * @return
     */
    int delete(Integer... id);
}
